<?php
include 'db.php';
$boardId = $_REQUEST["boardId"];
$id=$_REQUEST['id'];

$sql = "delete from order_item where id=$id";
$sqli = $conn->prepare($sql);
$ok = $sqli->execute();

header("Location:./dc.php?boardId=" . $boardId);
